package com.dba.example.gwt.client.editors;

import com.dba.example.gwt.client.beans.Company;
import com.google.gwt.core.client.GWT;
import com.google.gwt.editor.client.Editor;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.Widget;

public class CompanyEditor extends Composite implements Editor<Company> {

	interface DefaultUiBinder extends UiBinder<Widget, CompanyEditor> {
	}

	private static DefaultUiBinder uiBinder = GWT.create(DefaultUiBinder.class);

	@UiField
	TextBox name;

	public CompanyEditor() {
		initWidget(uiBinder.createAndBindUi(this));
	}

}
